DEFINITION MODULE MyLists;

(* (C) Copyright 1992 Fitted Software Tools. All rights reserved. *)

FROM Lists      IMPORT LinkedListItem, LinkedList;


(* DEFINITION *) CLASS MyLinkedListItem;
(*
    MyLinkedListItem adds the print method to LinkedListItem.
*)

    INHERIT LinkedListItem;

    PROCEDURE print;
    (*
        This method is intended to be redefined in classes derived
        from this one.

        In the implementation of MyLinkedListItem, this method does
        nothing.
    *)

END MyLinkedListItem;



(* DEFINITION *) CLASS MyLinkedList;
(*
    MyLinkedList is like LinkedList. We define this new class for
    consistency sake only.
*)

    INHERIT LinkedList;

END MyLinkedList;


END MyLists.